luci-mod-network: migrate network config depending on netifd version
authorRafał Miłecki <[email protected]>
Wed, 26 May 2021 11:25:24 +0000 (13:25 +0200)
committerRafał Miłecki <[email protected]>
Thu, 27 May 2021 10:19:08 +0000 (12:19 +0200)
commit3c34c4645b4c5d6ada850e397c8b295c248628d5
tree0be73881743d27b5df2798027317aa3836e2878c
parent482fc216acca821e2b6ca56325a70e68e38fafdd
luci-mod-network: migrate network config depending on netifd version

Checking netifd version is important for users of the most recent LuCI
that didn't update netifd (e.g. OpenWrt package).

Suggested-by: Jo-Philipp Wich <[email protected]>
Signed-off-by: Rafał Miłecki <[email protected]>
(cherry picked from commit 17af33ee48bb709aec31d09b90cfbd4cbece6d0d)
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js
modules/luci-mod-network/root/usr/share/rpcd/acl.d/luci-mod-network.json